package io.renren.modules.workmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 问题题目
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-17 16:53:10
 */
@Data
@TableName("tb_question")
public class QuestionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 题目ID
	 */
	@TableId
	private Long id;
	/**
	 * 题目类型
	 */
	private Integer quType;
	/**
	 * 1普通,2较难
	 */
	private Integer level;
	/**
	 * 题目图片
	 */
	private String image;
	/**
	 * 题目内容
	 */
	private String content;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	/**
	 * 题目备注
	 */
	private String remark;
	/**
	 * 整题解析
	 */
	private String analysis;

	private Long createUser;

}
